{% extends "stat_base.html" %}
{% block main2 %}
    <div class="content-block">
        {% block content %}
            <div>
                <div class="fieldset">
                    <table width="100%">
                        <thead>
                            <tr>
                                <th>Nome</th>
                                <th>Url</th>
                            </tr>
                        </thead>
                        <tbody>
                            {% for s in sList %}
                                <tr>
                                    <td><a href="stats/{{ s.related_element.id }}">{{ s }}</a></td>
                                    <td>{{ s.url }}</td>
                                </tr>
                            {% endfor %}
                        </tbody>
                    </table>
                </div>
            </div>
            <a href="stats/add">Aggiungi stat</a>
        {% endblock %}
    </div>
{% endblock %}